vcKinematics

Kinematics behavior for defining the forward and inverse kinematics solver and usable kinematic frames.

See in: Overview

Module: vcRobotics2

Parent: vcBehavior

Children -

Referenced by: vcMotionController.Kinematics

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
ActiveBasevcKinematicFrameRWGets or sets the currently active base. Set is not possible while the simulation is running.
ActiveToolvcKinematicFrameRWGets or sets the currently active tool. Set is not possible while the simulation is running.
BasesvcListRGets a list of defined base frames.
FlangeFramevcKinematicFrameRGets the Flange frame.
FlangeNodevcNodeRWGets or sets the flange node, for e.g.the mountplate.
MainSolvervcKinSolverRGets a read-only main solver instance or None. Create a separate solver instance for own calculations.
RootFramevcKinematicFrameRGets the Root frame.
RootNodevcNodeRWGets or sets the root node, the base of the kinematic structure.
SolverTypeStringRWGets or sets the type of the current solver by name. Setting this to a different type will delete the old Solver object and create a new one.
ToolsvcListRGets a list of defined tool frames.
TrackWorldFrameModevcTrackModeRWGets or sets the positioning mode for robot world frame when mounted on a track.
WorldFramevcKinematicFrameRGets the World frame.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
clearBasesNoneNoneDeletes all base frames.

Parameters:
None

Returns:
None
clearToolsNoneNoneDeletes all tool frames.

Parameters:
None

Returns:
None
createBasevcKinematicFrameOptional Keyword[name = String]Creates a new base frame.
See more
Parameters:
Optional: name (str): Empty by default. Name for the base. Leave out or empty to generate a default name.

Returns:
vcKinematicFrame: The newly created base frame.

Exceptions:
ValueError: When given name is reserved.
createSolvervcKinSolverNoneCreates a copy of the main solver.
See more
Parameters:
None

Returns:
vcKinSolver: The newly created solver.

Exceptions:
RunTimeError: When solver initialization fails.
createToolvcKinematicFrameOptional Keyword[name = String]Creates a new tool frame.
See more
Parameters:
Optional: name (str): Empty by default. Name for the tool. Leave out or empty to generate a default name.

Returns:
vcKinematicFrame: The newly created tool frame.

Exceptions:
ValueError: When given name is reserved.
findBasevcKinematicFrameString nameFinds a base with the given name.
See more
Parameters:
name (str): Name of a base.

Returns:
vcKinematicFrame | None: Found base frame or None.
findToolvcKinematicFrameString nameFinds a tool with the given name.
See more
Parameters:
name (str): Name of a tool.

Returns:
vcKinematicFrame | None: Found tool frame or None.